package org.aeon.colorfulplanebattle.constant;

import java.awt.*;

/**
 * @author: MissingAeon
 * @date: 2024/1/11 10:46
 * @description: 色块颜色枚举
 */
public enum ColorE {

    MAGENTA(Color.MAGENTA),
    GREEN(Color.GREEN),
    YELLOW(Color.YELLOW),
    BLUE(Color.BLUE);

    private final Color color;

    private ColorE(Color color) {
        this.color = color;
    }

    public Color getColor() {
        return color;
    }

    @Override
    public String toString() {
        return this.name();
    }
}
